package com.xzy.learn.spring.factory;

import com.xzy.learn.spring.entity.Student;

/**
 * Student 工厂
 *
 * @author xzy.xiao
 * @date 2022/6/1  11:41
 */
public class StaticStudentFactory {

    public static Student createOne() {
        System.out.println("StaticStudentFactory::createOne() is invoked");
        return new Student();
    }
}
